/**
 *
 */
package de.cbf.cam.dsa.services.impl.rcp_provider.extension.interfaces;

import java.util.Collection;
import java.util.List;
import java.util.UUID;

import de.cbf.cam.dsa.rcp.model.entities.StructureData;
import de.cbf.util.db.interfaces.exceptions.EntityLoadException;
import de.cbf.util.db.interfaces.exceptions.EntitySaveException;

/**
 * @author salter
 *
 */
public interface IRCPPersisterStructure extends IRCPPersisterParametered {

	public StructureData loadStructure(UUID uuid) throws EntityLoadException;

	public Collection<StructureData> loadAllStructureData() throws EntityLoadException;

	public void saveStructure(StructureData entity) throws EntitySaveException;
	/**
	 * tidy up step after successful importing
	 */
	public void tidyUpStructures(List<UUID> uuids);
}
